/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qx.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.qx.entity.QxMatchHistory;
import com.thinkgem.jeesite.modules.qx.entity.QxTeamMatch;
import com.thinkgem.jeesite.modules.qx.dao.QxMatchHistoryDao;

/**
 * 单表生成Service
 * @author zequs
 * @version 2017-08-23
 */
@Service
@Transactional(readOnly = true)
public class QxMatchHistoryService extends CrudService<QxMatchHistoryDao, QxMatchHistory> {

	public QxMatchHistory get(String id) {
		return super.get(id);
	}
	
	public List<QxMatchHistory> findList(QxMatchHistory qxMatchHistory) {
		return super.findList(qxMatchHistory);
	}
	
	public Page<QxMatchHistory> findPage(Page<QxMatchHistory> page, QxMatchHistory qxMatchHistory) {
		return super.findPage(page, qxMatchHistory);
	}
	
	@Transactional(readOnly = false)
	public void save(QxMatchHistory qxMatchHistory) {
		super.save(qxMatchHistory);
	}
	
	@Transactional(readOnly = false)
	public void delete(QxMatchHistory qxMatchHistory) {
		super.delete(qxMatchHistory);
	}
	
	public List<QxMatchHistory> findListGroupByTeamid(QxMatchHistory qxMatchHistory) {
            return dao.findListGroupByTeamid(qxMatchHistory); 
    }
}